<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: register.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00233.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">register.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a03620_source.html">precomp.h</a>&quot;</code><br />
</div>
<p><a href="a00233_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a2815c7252a2fcd10c5b3450df0d085e0"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00233.html#a2815c7252a2fcd10c5b3450df0d085e0">SendRegisterMessageToClass</a> (ATOM atomClass, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> msg, <a class="el" href="a00086.html#a94c133ba2c05e4193dd481f6ac11b2ed">GATOM</a> ga, HWND hwndFrom, BOOL fPost)</td></tr>
<tr class="separator:a2815c7252a2fcd10c5b3450df0d085e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0318ddbf42ddd0b0af4c9d9ba2a64d47"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00233.html#a0318ddbf42ddd0b0af4c9d9ba2a64d47">RegisterService</a> (BOOL fRegister, <a class="el" href="a00086.html#a94c133ba2c05e4193dd481f6ac11b2ed">GATOM</a> gaApp, HWND hwndListen)</td></tr>
<tr class="separator:a0318ddbf42ddd0b0af4c9d9ba2a64d47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac25ddc60f10991e12f9b2ae9e980f441"><td class="memItemLeft" align="right" valign="top">LRESULT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00233.html#ac25ddc60f10991e12f9b2ae9e980f441">ProcessRegistrationMessage</a> (HWND hwnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> msg, WPARAM wParam, LPARAM lParam)</td></tr>
<tr class="separator:ac25ddc60f10991e12f9b2ae9e980f441"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">函数说明</h2>
<a id="ac25ddc60f10991e12f9b2ae9e980f441"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac25ddc60f10991e12f9b2ae9e980f441">&#9670;&nbsp;</a></span>ProcessRegistrationMessage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LRESULT ProcessRegistrationMessage </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WPARAM&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPARAM&#160;</td>
          <td class="paramname"><em>lParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00233_source.html">register.c</a> 第 <a class="el" href="a00233_source.html#l00088">88</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;{</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <a class="code" href="a01841.html">PCL_INSTANCE_INFO</a> pcii;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    LRESULT lRet = 0;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <a class="code" href="a00086.html#af4a5ecbacfdd6845c5c37342f333ace4">CheckDDECritOut</a>;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment">     * wParam = GATOM of app</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment">     * lParam = hwndListen of source - may be a WOW DDEML source unthunked.</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    lParam = (LPARAM)<a class="code" href="a00365.html#ab993ad57b0d56b4f9b64df02256b611c">HMValidateHandleNoRip</a>((HWND)lParam, TYPE_WINDOW);</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    lParam = (LPARAM)PtoH((PVOID)lParam);</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keywordflow">if</span> (lParam == 0) {</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        <span class="keywordflow">return</span>(0);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    }</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    pcii = (<a class="code" href="a00086.html#af3e1f90b1c4f51b56c010009ceac2ddb">PCL_INSTANCE_INFO</a>)GetWindowLong(hwnd, GWL_INSTANCE_INFO);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <span class="keywordflow">if</span> (pcii != NULL &amp;&amp;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;            !((msg == UM_REGISTER) &amp;&amp; (pcii-&gt;<a class="code" href="a01841.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> &amp; CBF_SKIP_REGISTRATIONS)) &amp;&amp;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;            !((msg == UM_UNREGISTER) &amp;&amp; (pcii-&gt;<a class="code" href="a01841.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> &amp; CBF_SKIP_UNREGISTRATIONS))) {</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        <a class="code" href="a00086.html#afb884b9e2fb48a9b845acffcb306c059">LATOM</a> la, lais;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        la = <a class="code" href="a00086.html#a74f36efd1711016cbf41427811c2edea">GlobalToLocalAtom</a>((<a class="code" href="a00086.html#a94c133ba2c05e4193dd481f6ac11b2ed">GATOM</a>)wParam);</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        lais = <a class="code" href="a00086.html#a680f5d0f7b3ca3522b69934c1e67156e">MakeInstSpecificAtom</a>(la, (HWND)lParam);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160; </div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;        <a class="code" href="a00008.html#a23a4646063ef5f4cdcf6d3840b705fc2">DoCallback</a>(pcii,</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;                (WORD)((msg == UM_REGISTER) ? XTYP_REGISTER : XTYP_UNREGISTER),</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;                0,</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;                (HCONV)0L,</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;                (HSZ)<a class="code" href="a00086.html#a8ec365b8e8550c587aadd14daeb84b2b">NORMAL_HSZ_FROM_LATOM</a>(la),</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;                <a class="code" href="a00086.html#adb940fa2d3718753ab8ec2ce594eb887">INST_SPECIFIC_HSZ_FROM_LATOM</a>(lais),</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;                (HDDEDATA)0L,</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;                0L,</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;                0L);</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        DeleteAtom(la);</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        DeleteAtom(lais);</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        lRet = 1;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    }</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    GlobalDeleteAtom((ATOM)wParam);  <span class="comment">// receiver frees</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <span class="keywordflow">return</span>(1);</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00183">tagCL_INSTANCE_INFO::afCmd</a>, <a class="el" href="a00086_source.html#l00051">CheckDDECritOut</a>, <a class="el" href="a00008_source.html#l00022">DoCallback()</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00164_source.html#l00464">GlobalToLocalAtom()</a>, <a class="el" href="a03752_source.html#l00303">HMValidateHandleNoRip()</a>, <a class="el" href="a00086_source.html#l00063">INST_SPECIFIC_HSZ_FROM_LATOM</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00164_source.html#l00367">MakeInstSpecificAtom()</a> , 以及 <a class="el" href="a00086_source.html#l00062">NORMAL_HSZ_FROM_LATOM</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00089_source.html#l00025">DDEMLMotherWndProc()</a>.</p>

</div>
</div>
<a id="a0318ddbf42ddd0b0af4c9d9ba2a64d47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0318ddbf42ddd0b0af4c9d9ba2a64d47">&#9670;&nbsp;</a></span>RegisterService()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID RegisterService </td>
          <td>(</td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>fRegister</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00086.html#a94c133ba2c05e4193dd481f6ac11b2ed">GATOM</a>&#160;</td>
          <td class="paramname"><em>gaApp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hwndListen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00233_source.html">register.c</a> 第 <a class="el" href="a00233_source.html#l00066">66</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;{</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <a class="code" href="a00086.html#af4a5ecbacfdd6845c5c37342f333ace4">CheckDDECritOut</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="comment">     * Send notification to each DDEML32 listening window.</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <a class="code" href="a00233.html#a2815c7252a2fcd10c5b3450df0d085e0">SendRegisterMessageToClass</a>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_DDEMLMOTHER], fRegister ? UM_REGISTER : UM_UNREGISTER,</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;            gaApp, hwndListen, fRegister);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="comment">     * Send notification to each DDEML16 listening window.</span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <a class="code" href="a00233.html#a2815c7252a2fcd10c5b3450df0d085e0">SendRegisterMessageToClass</a>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_DDEML16BIT], fRegister ? UM_REGISTER : UM_UNREGISTER,</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;            gaApp, hwndListen, fRegister);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00365_source.html#l00998">tagSERVERINFO::atomSysClass</a>, <a class="el" href="a00086_source.html#l00051">CheckDDECritOut</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a> , 以及 <a class="el" href="a00233_source.html#l00028">SendRegisterMessageToClass()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00083_source.html#l00269">DdeNameService()</a>.</p>

</div>
</div>
<a id="a2815c7252a2fcd10c5b3450df0d085e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2815c7252a2fcd10c5b3450df0d085e0">&#9670;&nbsp;</a></span>SendRegisterMessageToClass()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID SendRegisterMessageToClass </td>
          <td>(</td>
          <td class="paramtype">ATOM&#160;</td>
          <td class="paramname"><em>atomClass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00086.html#a94c133ba2c05e4193dd481f6ac11b2ed">GATOM</a>&#160;</td>
          <td class="paramname"><em>ga</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hwndFrom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>fPost</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00233_source.html">register.c</a> 第 <a class="el" href="a00233_source.html#l00028">28</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;{</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    HWND hwnd;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <a class="code" href="a02581.html">PWND</a> pwnd;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <a class="code" href="a02569.html">PCLS</a> pcls;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    hwnd = <a class="code" href="a03743.html#a72ab23f7e5d7d08157db573dc8666aff">GetWindow</a>(<a class="code" href="a03743.html#a0a4b4ffaef0371b526a03f68506e6a80">GetDesktopWindow</a>(), GW_CHILD);</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="keywordflow">while</span> (hwnd != NULL) {</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        pwnd=<a class="code" href="a00257.html#a9064f50a1f637e01f5af3f1421d5a798">ValidateHwndNoRip</a>(hwnd);</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        <span class="keywordflow">if</span> (pwnd) {</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;            pcls = (<a class="code" href="a00365.html#a147bfb6d38764fd5ccf6f45225cb56e6">PCLS</a>)REBASEALWAYS(pwnd, pcls);</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;            <span class="keywordflow">if</span> (pcls-&gt;<a class="code" href="a02569.html#a95d33e332d37066b5b5e05231b824991">atomClassName</a> == atomClass) {</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;                <a class="code" href="a00086.html#a763cdcfe7e86c87e6bd2b6e0d527766c">IncGlobalAtomCount</a>(ga); <span class="comment">// receiver frees</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;                <span class="keywordflow">if</span> (fPost) {</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;                    <a class="code" href="a00356.html#a3f53b9d5a549a62853c4e3fb22b649d7">PostMessage</a>(hwnd, msg, (WPARAM)ga, (LPARAM)hwndFrom);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;                } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;                    SendMessage(hwnd, msg, (WPARAM)ga, (LPARAM)hwndFrom);</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;                }</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;            }</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        }</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        hwnd = <a class="code" href="a03743.html#a72ab23f7e5d7d08157db573dc8666aff">GetWindow</a>(hwnd, GW_HWNDNEXT);</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    }</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00365_source.html#l01326">tagCLS::atomClassName</a>, <a class="el" href="a03743_source.html#l00242">GetDesktopWindow()</a>, <a class="el" href="a03743_source.html#l00466">GetWindow()</a>, <a class="el" href="a00164_source.html#l00490">IncGlobalAtomCount()</a>, <a class="el" href="a00356_source.html#l00471">PostMessage()</a> , 以及 <a class="el" href="a03743_source.html#l00173">ValidateHwndNoRip()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00233_source.html#l00066">RegisterService()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa00365_html_a147bfb6d38764fd5ccf6f45225cb56e6"><div class="ttname"><a href="a00365.html#a147bfb6d38764fd5ccf6f45225cb56e6">PCLS</a></div><div class="ttdeci">struct tagCLS * PCLS</div></div>
<div class="ttc" id="aa01841_html_a9735d28a0381236e8c20f45a431efd55"><div class="ttname"><a href="a01841.html#a9735d28a0381236e8c20f45a431efd55">tagCL_INSTANCE_INFO::afCmd</a></div><div class="ttdeci">DWORD afCmd</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00183">ddemlcli.h:183</a></div></div>
<div class="ttc" id="aa00086_html_adb940fa2d3718753ab8ec2ce594eb887"><div class="ttname"><a href="a00086.html#adb940fa2d3718753ab8ec2ce594eb887">INST_SPECIFIC_HSZ_FROM_LATOM</a></div><div class="ttdeci">#define INST_SPECIFIC_HSZ_FROM_LATOM(a)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00063">ddemlcli.h:63</a></div></div>
<div class="ttc" id="aa00008_html_a23a4646063ef5f4cdcf6d3840b705fc2"><div class="ttname"><a href="a00008.html#a23a4646063ef5f4cdcf6d3840b705fc2">DoCallback</a></div><div class="ttdeci">HDDEDATA DoCallback(PCL_INSTANCE_INFO pcii, WORD wType, WORD wFmt, HCONV hConv, HSZ hsz1, HSZ hsz2, HDDEDATA hData, DWORD dw1, DWORD dw2)</div><div class="ttdef"><b>Definition:</b> <a href="a00008_source.html#l00022">callback.c:22</a></div></div>
<div class="ttc" id="aa00086_html_a74f36efd1711016cbf41427811c2edea"><div class="ttname"><a href="a00086.html#a74f36efd1711016cbf41427811c2edea">GlobalToLocalAtom</a></div><div class="ttdeci">LATOM GlobalToLocalAtom(GATOM ga)</div><div class="ttdef"><b>Definition:</b> <a href="a00164_source.html#l00464">hsz.c:464</a></div></div>
<div class="ttc" id="aa00086_html_a680f5d0f7b3ca3522b69934c1e67156e"><div class="ttname"><a href="a00086.html#a680f5d0f7b3ca3522b69934c1e67156e">MakeInstSpecificAtom</a></div><div class="ttdeci">LATOM MakeInstSpecificAtom(LATOM la, HWND hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00164_source.html#l00367">hsz.c:367</a></div></div>
<div class="ttc" id="aa00257_html_a9064f50a1f637e01f5af3f1421d5a798"><div class="ttname"><a href="a00257.html#a9064f50a1f637e01f5af3f1421d5a798">ValidateHwndNoRip</a></div><div class="ttdeci">PWND FASTCALL ValidateHwndNoRip(HWND hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03743_source.html#l00173">client/wow.c:173</a></div></div>
<div class="ttc" id="aa00233_html_a2815c7252a2fcd10c5b3450df0d085e0"><div class="ttname"><a href="a00233.html#a2815c7252a2fcd10c5b3450df0d085e0">SendRegisterMessageToClass</a></div><div class="ttdeci">VOID SendRegisterMessageToClass(ATOM atomClass, UINT msg, GATOM ga, HWND hwndFrom, BOOL fPost)</div><div class="ttdef"><b>Definition:</b> <a href="a00233_source.html#l00028">register.c:28</a></div></div>
<div class="ttc" id="aa00356_html_a3f53b9d5a549a62853c4e3fb22b649d7"><div class="ttname"><a href="a00356.html#a3f53b9d5a549a62853c4e3fb22b649d7">PostMessage</a></div><div class="ttdeci">BOOL APIENTRY PostMessage(HWND hwnd, UINT wMsg, WPARAM wParam, LPARAM lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00356_source.html#l00471">ntcftxt.h:471</a></div></div>
<div class="ttc" id="aa03743_html_a0a4b4ffaef0371b526a03f68506e6a80"><div class="ttname"><a href="a03743.html#a0a4b4ffaef0371b526a03f68506e6a80">GetDesktopWindow</a></div><div class="ttdeci">HWND GetDesktopWindow(void)</div><div class="ttdef"><b>Definition:</b> <a href="a03743_source.html#l00242">client/wow.c:242</a></div></div>
<div class="ttc" id="aa00086_html_a94c133ba2c05e4193dd481f6ac11b2ed"><div class="ttname"><a href="a00086.html#a94c133ba2c05e4193dd481f6ac11b2ed">GATOM</a></div><div class="ttdeci">ATOM GATOM</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00019">ddemlcli.h:19</a></div></div>
<div class="ttc" id="aa00086_html_a763cdcfe7e86c87e6bd2b6e0d527766c"><div class="ttname"><a href="a00086.html#a763cdcfe7e86c87e6bd2b6e0d527766c">IncGlobalAtomCount</a></div><div class="ttdeci">GATOM IncGlobalAtomCount(GATOM la)</div><div class="ttdef"><b>Definition:</b> <a href="a00164_source.html#l00490">hsz.c:490</a></div></div>
<div class="ttc" id="aa00086_html_a8ec365b8e8550c587aadd14daeb84b2b"><div class="ttname"><a href="a00086.html#a8ec365b8e8550c587aadd14daeb84b2b">NORMAL_HSZ_FROM_LATOM</a></div><div class="ttdeci">#define NORMAL_HSZ_FROM_LATOM(a)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00062">ddemlcli.h:62</a></div></div>
<div class="ttc" id="aa00086_html_afb884b9e2fb48a9b845acffcb306c059"><div class="ttname"><a href="a00086.html#afb884b9e2fb48a9b845acffcb306c059">LATOM</a></div><div class="ttdeci">ATOM LATOM</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00018">ddemlcli.h:18</a></div></div>
<div class="ttc" id="aa02513_html_acfbb1bdf492ec9f7a21f0094adbbe948"><div class="ttname"><a href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">tagSERVERINFO::atomSysClass</a></div><div class="ttdeci">ATOM atomSysClass[ICLS_MAX]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00998">user.h:998</a></div></div>
<div class="ttc" id="aa02581_html"><div class="ttname"><a href="a02581.html">tagWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01388">user.h:1388</a></div></div>
<div class="ttc" id="aa02569_html_a95d33e332d37066b5b5e05231b824991"><div class="ttname"><a href="a02569.html#a95d33e332d37066b5b5e05231b824991">tagCLS::atomClassName</a></div><div class="ttdeci">ATOM atomClassName</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01326">user.h:1326</a></div></div>
<div class="ttc" id="aa00086_html_a3b5310e2dd6b3c42cb13fa51a1b4e254"><div class="ttname"><a href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a></div><div class="ttdeci">#define LeaveDDECrit</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00041">ddemlcli.h:41</a></div></div>
<div class="ttc" id="aa00365_html_ab993ad57b0d56b4f9b64df02256b611c"><div class="ttname"><a href="a00365.html#ab993ad57b0d56b4f9b64df02256b611c">HMValidateHandleNoRip</a></div><div class="ttdeci">PVOID FASTCALL HMValidateHandleNoRip(HANDLE h, BYTE btype)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00303">rtl/wow.c:303</a></div></div>
<div class="ttc" id="aa03743_html_a72ab23f7e5d7d08157db573dc8666aff"><div class="ttname"><a href="a03743.html#a72ab23f7e5d7d08157db573dc8666aff">GetWindow</a></div><div class="ttdeci">HWND GetWindow(HWND hwnd, UINT wCmd)</div><div class="ttdef"><b>Definition:</b> <a href="a03743_source.html#l00466">client/wow.c:466</a></div></div>
<div class="ttc" id="aa00086_html_a8c66aaa58bd4b338d4f04ae07d4fb23a"><div class="ttname"><a href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a></div><div class="ttdeci">#define EnterDDECrit</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00040">ddemlcli.h:40</a></div></div>
<div class="ttc" id="aa00020_html_ad760da1dd81d9e84dee607d18edfde39"><div class="ttname"><a href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a></div><div class="ttdeci">PSERVERINFO gpsi</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00039">clglobal.c:39</a></div></div>
<div class="ttc" id="aa00086_html_af3e1f90b1c4f51b56c010009ceac2ddb"><div class="ttname"><a href="a00086.html#af3e1f90b1c4f51b56c010009ceac2ddb">PCL_INSTANCE_INFO</a></div><div class="ttdeci">struct tagCL_INSTANCE_INFO * PCL_INSTANCE_INFO</div></div>
<div class="ttc" id="aa00086_html_af4a5ecbacfdd6845c5c37342f333ace4"><div class="ttname"><a href="a00086.html#af4a5ecbacfdd6845c5c37342f333ace4">CheckDDECritOut</a></div><div class="ttdeci">#define CheckDDECritOut</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00051">ddemlcli.h:51</a></div></div>
<div class="ttc" id="aa02569_html"><div class="ttname"><a href="a02569.html">tagCLS</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01323">user.h:1323</a></div></div>
<div class="ttc" id="aa01841_html"><div class="ttname"><a href="a01841.html">tagCL_INSTANCE_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00175">ddemlcli.h:175</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_caf01b281dbc7d7ffe410ecf117b6142.html">client</a></li><li class="navelem"><a class="el" href="a00233.html">register.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
